@layout("/common/_container.html"){
<div class="col-sm-12>
    <div class=" iboxfloat-e-margins">
	<div class="ibox-title">
		<h5>个人信息</h5>
	</div>
	<div class="ibox-content">
		<div class="row row-lg">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content" style="border: none !important;">
						<div class="form-horizontal" id="userInfoForm">

							<input type="hidden" id="id" value="${user.id}">


							<div class="row">

                                 <#avatar id="avatar" name="头像" underline="true" avatarImg="${user.photo}"/>
                                <div class="form-group">
									<label class="col-sm-3 control-label">所属部门</label>
									<div class="col-sm-9">
										<label class="control-label">${user.officeName}</label>
									</div>
								</div>
								<div class="hr-line-dashed"></div>
								<div class="form-group">
									<label class="col-sm-3 control-label">用户名</label>
									<div class="col-sm-9">
										<label class="control-label">${user.loginName}</label>
									</div>
								</div>
								<div class="hr-line-dashed"></div>
								<div class="form-group">
									<label class="col-sm-3 control-label">工号</label>
									<div class="col-sm-9">
										<label class="control-label">${user.no}</label>
									</div>
								</div>
								<div class="hr-line-dashed"></div>


                                <#input id="name" name="姓名" underline="true"    value="${user.name}" />

								<#input id="email" name="邮箱" type="email" value="${user.email}" underline="true" />

								

                                <#input id="phone" name="电话" underline="true"    value="${user.phone}" />
                                <div class="form-group">
									<label class="col-sm-3 control-label">所属角色</label>
									<div class="col-sm-9">
										<label class="control-label">${shirouser.roleName}</label>
									</div>
								</div>
								<div class="hr-line-dashed"></div>
							</div>

							<div class="progress progress-striped" id="progressTipArea"
								style="margin-top: 20px;">
								<div id="progressBar" style="width: 0%" aria-valuemax="100"
									aria-valuemin="0" aria-valuenow="0" role="progressbar"
									class="progress-bar progress-bar-info"></div>
							</div>

							<div class="row btn-group-m-t">
								<div class="col-sm-10">
									<#button btnCss="info" name="提交" id="ensure" icon="fa-check"
										clickFun="UserInfoDlg.editInfo()" />
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
</div>
<script src="/modular/system/user/user_info.js"></script>
@}
